﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Innskráning</title>
    <link href="main.css" type="text/css" rel="Stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
            <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                            ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                            onclick="_ibmHomePage_Click" CausesValidation="False" />
                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                             Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">                    
                    </td>
                </tr>
             </table>
                                
		 </div>
		 <!-- End Header -->	 
		 

		 <!-- Begin subHeader -->
		 <div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
		 
		 <table   style="width:100%;">
		    <tr>
		        <td>   
		           <asp:Label ID="_lblLogin" runat="server"  ForeColor="White" Text="Innskráning" Font-Bold="true">  </asp:Label>  
                    
                         
                </td>
            </tr>
	         
        </table>		 
        </div>

		 <!-- End subHeader -->
		 
		 <!-- Begin Left Column -->
		 <div id="leftcolumn"              
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
		 
		    <table   style="width:100%;">
		        <tr>
		            <td>   
		                <asp:LinkButton ID="_lbtnHomePage" runat="server" ForeColor="White" 
                       onclick="_lbtnHomePage_Click">Forsíða</asp:LinkButton>  
                    </td>
                </tr>
            </table>		       
		 
		 </div>
		 <!-- End Left Column -->
		 
		 <!-- Begin Right Column -->
		 <div id="rightcolumn">
		 <table>
          <tr>
            <td>		 	      
	          <asp:Login ID="Login1" runat="server" BackColor="MediumBlue" ForeColor="White">
                  <LayoutTemplate>
                      <table border="0" cellpadding="1" cellspacing="0" 
                          style="border-collapse:collapse;">
                          <tr>
                              <td>
                                  <table border="0" cellpadding="0">
                                      <tr>
                                          <td align="center" colspan="2">
                                              Innskráning</td>
                                      </tr>
                                      <tr>
                                          <td align="right">
                                              <asp:Label TabIndex="0" ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Notendanafn:</asp:Label>
                                          </td>
                                          <td>
                                              <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                              <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                                  ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                                  ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                          </td>
                                      </tr>
                                      <tr>
                                          <td align="right">
                                              <asp:Label TabIndex="1" ID="PasswordLabel" runat="server" AssociatedControlID="Password">Lykilorð:</asp:Label>
                                          </td>
                                          <td>
                                              <asp:TextBox ID="Password" runat="server" TextMode="Password" 
                                                  AutoCompleteType="Cellular"  ></asp:TextBox>
                                              <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                  ControlToValidate="Password" ErrorMessage="Password is required." 
                                                  ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                          </td>
                                      </tr>
                                      <tr>
                                          <td colspan="2">
                                              <asp:CheckBox ID="RememberMe" runat="server" Text="Mundu eftir mér" />
                                          </td>
                                           
                                      </tr>
                                      <tr>
                                          <td align="center" colspan="2" style="color:Red;">
                                              <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                          </td>
                                      </tr>
                                      <tr>
                                          <td align="right" colspan="2" bgcolor="MediumBlue">
                                              <asp:Button ID="LoginButton" runat="server" CommandName="Login" 
                                                  Text="Innskrá" 
                                                  ValidationGroup="Login1" onclick="LoginButton_Click" 
                                                  CommandArgument="Enter" />
                                          </td>
                                      </tr>
                                  </table>
                              </td>
                          </tr>
                      </table>
                  </LayoutTemplate>
              </asp:Login>
            </td>
           </tr>
         </table>
		 
		 </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		    <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    </form>
</body>
</html>
